<span id="${uuid}"></span>

<div class="box_tc_s">
    <h3>${title}实验数据采集</h3>
    <input type="hidden" data-id="experimentalData" name="id" />
    <table data-id="table-form" border="0" cellpadding="0" cellspacing="0" class="hydra-table hydra-detail-table">
        <tr class="hydra-tr-bg">
            <td colspan="2">
                <label style="color: red">如果不填时间则表示抓取的是上传文件的所有数据，否则只抓取时间段内的数据</label>
            </td>
        </tr>
        <tr class="hydra-tr-bg" style="border-bottom: 1px dotted #ccc">
            <td class="hydra-left">
                上传实验文件：
            </td>
            <td class="hydra-right">
                <div data-id="fileMessage" class="file-manage"></div>
                <input type="text" data-id="attachment" name="attachment" />
                <input type="hidden" data-id="filePath" name="filePath" />
            </td>
        </tr>
        <tr class="hydra-tr-bg" style="border-bottom: 1px dotted #ccc">
            <td class="hydra-left">
                开始时间：
            </td>
            <td class="hydra-right">
                <input type="text" data-id="begin"
                       name="begin" class="easyui-validatebox hydra-input-width"
                       data-options="validType:['length[0,20]']"
                       placeholder="开始时间.." value=""/>
            </td>
        </tr>
        <tr class="hydra-tr-bg" style="border-bottom: 1px dotted #ccc">
            <td class="hydra-left">
                结束时间：
            </td>
            <td class="hydra-right">
                <input type="text" data-id="end"
                       name="end" class="easyui-validatebox hydra-input-width"
                       data-options="validType:['length[0,20]']"
                       placeholder="结束时间.." value=""/>
            </td>
        </tr>
    </table>
    <div class="mt10">
        <a data-id="grant" iconCls="fa fa-assistive-listening-systems fa-lg">开始采集数据</a>
    </div>
    <div data-id="data" style="overflow: hidden;padding: 10px;">
    </div>
</div>
<script language="javascript" type="text/javascript">
    seajs.use(["apps/process/grant"], function (page) {
        page.init("${pageContext.request.contextPath}", "${uuid}", {
            code:"${code}"
        });
    });
</script>
